import React from 'react'
import ReactDOM from 'react-dom'

import 'antd-mobile/dist/antd-mobile.css'

import './index.css'
import './assets/js/adapter'
import './assets/css/reset.css'
import './assets/css/common.css'
import './assets/css/classify.css'
import './assets/css/detail.css'
import "./assets/css/shoppingcart.css"
import "./assets/css/mobile_login.css"
import "./assets/css/mine.css"
import './assets/css/index.css'
import  './assets/css/topNav.css';
import "./assets/css/order.css"
import App from './App';
import reportWebVitals from './reportWebVitals'
import { HashRouter } from 'react-router-dom'

React.Component.prototype.$pregImg = 'http://localhost:3000'
ReactDOM.render(
  // <React.StrictMode>
    <HashRouter>
      <App />
    </HashRouter>
  // {/* </React.StrictMode> */}
  ,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
